<%-- 
    Document   : Rank
    Created on : 2014/2/26, 下午 01:36:34
    Author     : Gjun
--%>

<%@page import="java.util.HashMap"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%
    String year = request.getParameter("year");
    String month = request.getParameter("month");
    String index = request.getParameter("index");
    if(year.equals("") && month.equals("")){
        request.getRequestDispatcher("oops.jsp").forward(request, response);
    }
    if("1".equals(index)){
        request.getRequestDispatcher("query1.jsp").forward(request, response);
    }else if("2".equals(index)){
        request.getRequestDispatcher("query2.jsp").forward(request, response);
    }else if("3".equals(index)){
        request.getRequestDispatcher("query3.jsp").forward(request, response);
    }else if("4".equals(index)){
        request.getRequestDispatcher("query4.jsp").forward(request, response);
    }else if("5".equals(index)){
        request.getRequestDispatcher("query5.jsp").forward(request, response);
    }else{
        request.getRequestDispatcher("query6.jsp").forward(request, response);
    }%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    </body>
</html>
